import socialHttp from "@/plugins/uniuser/http";
import ComLoginRO from "@/plugins/uniuser/model/ComLoginRO";
import ComUserRO from "@/plugins/uniuser/model/ComUserRO";
import UniProviderLoginQO from "uniapp-sdk/dist/model/UniProviderLoginQO";

export default class LoginAPI {
  static providerLoginAPI (data: UniProviderLoginQO) {
    return socialHttp.post<ComLoginRO<ComUserRO>>('login/providerLogin', data)
  }
}
